#pragma once

struct CComBSTRResource : CComBSTR
{
	CComBSTRResource(UINT nID)
	{
		if (!LoadStringW(nID))
		{
			AtlThrow(E_INVALIDARG);
		}
	}
};